Integrand size = 12, antiderivative size = 38 \[ \int \frac {1}{a+c x+b x^2} \, dx=\frac {2 \arctan \left (\frac {c+2 b x}{\sqrt {4 a b-c^2}}\right )}{\sqrt {4 a b-c^2}} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {632, 210} \[ \int \frac {1}{a+c x+b x^2} \, dx=\frac {2 \arctan \left (\frac {2 b x+c}{\sqrt {4 a b-c^2}}\right )}{\sqrt {4 a b-c^2}} \]
[In]
[Out]
Rule 210
Rule 632
Rubi steps \begin{align*} \text {integral}& = -\left (2 \text {Subst}\left (\int \frac {1}{-4 a b+c^2-x^2} \, dx,x,c+2 b x\right )\right ) \\ & = \frac {2 \tan ^{-1}\left (\frac {c+2 b x}{\sqrt {4 a b-c^2}}\right )}{\sqrt {4 a b-c^2}} \\ \end{align*}
Time = 0.01 (sec) , antiderivative size = 38, normalized size of antiderivative = 1.00 \[ \int \frac {1}{a+c x+b x^2} \, dx=\frac {2 \arctan \left (\frac {c+2 b x}{\sqrt {4 a b-c^2}}\right )}{\sqrt {4 a b-c^2}} \]
[In]
[Out]
Time = 2.12 (sec) , antiderivative size = 35, normalized size of antiderivative = 0.92
method | result | size |
default | \(\frac {2 \arctan \left (\frac {2 b x +c}{\sqrt {4 a b -c^{2}}}\right )}{\sqrt {4 a b -c^{2}}}\) | \(35\) |
risch | \(-\frac {\ln \left (2 b x +\sqrt {-4 a b +c^{2}}+c \right )}{\sqrt {-4 a b +c^{2}}}+\frac {\ln \left (-2 b x +\sqrt {-4 a b +c^{2}}-c \right )}{\sqrt {-4 a b +c^{2}}}\) | \(61\) |
[In]
[Out]
none
Time = 0.42 (sec) , antiderivative size = 113, normalized size of antiderivative = 2.97 \[ \int \frac {1}{a+c x+b x^2} \, dx=\left [-\frac {\sqrt {-4 \, a b + c^{2}} \log \left (\frac {2 \, b^{2} x^{2} + 2 \, b c x - 2 \, a b + c^{2} - \sqrt {-4 \, a b + c^{2}} {\left (2 \, b x + c\right )}}{b x^{2} + c x + a}\right )}{4 \, a b - c^{2}}, -\frac {2 \, \arctan \left (-\frac {2 \, b x + c}{\sqrt {4 \, a b - c^{2}}}\right )}{\sqrt {4 \, a b - c^{2}}}\right ] \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 124 vs. \(2 (32) = 64\).
Time = 0.10 (sec) , antiderivative size = 124, normalized size of antiderivative = 3.26 \[ \int \frac {1}{a+c x+b x^2} \, dx=- \sqrt {- \frac {1}{4 a b - c^{2}}} \log {\left (x + \frac {- 4 a b \sqrt {- \frac {1}{4 a b - c^{2}}} + c^{2} \sqrt {- \frac {1}{4 a b - c^{2}}} + c}{2 b} \right )} + \sqrt {- \frac {1}{4 a b - c^{2}}} \log {\left (x + \frac {4 a b \sqrt {- \frac {1}{4 a b - c^{2}}} - c^{2} \sqrt {- \frac {1}{4 a b - c^{2}}} + c}{2 b} \right )} \]
[In]
[Out]
Exception generated. \[ \int \frac {1}{a+c x+b x^2} \, dx=\text {Exception raised: ValueError} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 34, normalized size of antiderivative = 0.89 \[ \int \frac {1}{a+c x+b x^2} \, dx=\frac {2 \, \arctan \left (\frac {2 \, b x + c}{\sqrt {4 \, a b - c^{2}}}\right )}{\sqrt {4 \, a b - c^{2}}} \]
[In]
[Out]
Time = 8.99 (sec) , antiderivative size = 46, normalized size of antiderivative = 1.21 \[ \int \frac {1}{a+c x+b x^2} \, dx=\frac {2\,\mathrm {atan}\left (\frac {c}{\sqrt {4\,a\,b-c^2}}+\frac {2\,b\,x}{\sqrt {4\,a\,b-c^2}}\right )}{\sqrt {4\,a\,b-c^2}} \]
[In]
[Out]